ProfilePress\Core\Membership\PaymentMethods\Stripe\Stripe D

Total Complexity 151
Dependencies 18
Dependents 1
Total lines 1,013
Lines of code 676
Logical lines of code 332
Comment lines 83
Methods 30
Properties 0

Methods 30

Method Rating Maintainability Complexity Lines of code
process_offsite_payment()
B
33 20 97
process_payment()
B
33 16 103
admin_settings()
A
35 10 91
maybe_update_webhook()
A
47 13 33
enqueue_frontend_assets()
A
45 9 44
stripe_cancel()
A
49 8 31
disconnect_stripe_account()
A
48 7 31
save_stripe_connect()
S
55 6 16
process_webhook()
S
51 5 26
process_refund()
S
52 5 25
validate_fields()
S
62 5 11
admin_connection_status_block()
S
55 4 18
handle_manage_subscription_action()
S
56 4 17
__construct()
S
50 3 26
credit_card_form()
S
58 3 18
billing_address_form()
S
72 4 5
manage_subscription_button()
S
68 4 6
output_connection_error()
S
66 4 7
can_cancel()
S
69 4 6
should_validate_billing_details()
S
71 3 6
get_statement_descriptor()
S
59 2 14
link_profile_id()
S
71 2 6
link_transaction_id()
S
71 2 6
filter_update_order_review_response()
S
63 2 9
has_fields()
S
80 1 3
cancel_immediately()
S
79 1 3
cancel()
S
80 1 3
get_order_metadata()
S
65 1 9
is_billing_fields_removed()
S
79 1 3
is_offsite_checkout_style()
S
78 1 3